package cn.cena.pet.service;


import cn.cena.basic.service.IBaseService;
import cn.cena.basic.util.PageList;
import cn.cena.pet.domain.Pet;
import cn.cena.pet.query.PetQuery;

import java.util.List;

public interface IPetService extends IBaseService<Pet> {

    /**
     * 宠物上架
     * @param ids
     * @param state
     */
    void onsale(List<Long> ids, Integer state);

    /**
     * 宠物下架
     * @param ids
     * @param state
     */
    void offsale(List<Long> ids, Integer state);

    Pet loadOnsaleById(Long id, Integer state);
}
